package com.cmii.sjw.department.control.jsc.mapper;

import com.cmii.sjw.department.control.jsc.config.mp.BaseMapperX;
import com.cmii.sjw.department.control.jsc.model.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author jfh
 * @Date 2025-04-08 周二 11:05
 * @Version 1.0
 */
@Mapper
public interface RoleMapper extends BaseMapperX<Role> {
    // 批量禁用角色
    int batchDisableStatus(@Param("ids") List<Long> ids);

    // 批量启用角色
    int batchActivationStatus(@Param("ids") List<Long> ids);
}
